<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/admin.css" />
</head>
<body>
	<h3 style="background:#E5ECF3; padding:5px; font-size:12px;">> <a href="<?=site_url(rnadminpath().'/main/show/main');?>">首页</a> > <a href="#">小站统计</a></h3>
	<div style="margin-top:10px;padding:5px;border:1px solid #9FACB7;">
		<ul class="listmenu">
			<li>名称</li>
			<li>上周新增粉丝</li>
			<li>上月新增粉丝</li>
			<li style="width:140px;">每位粉丝平均停留时间</li>
			<li class="lastitem">每日平均访问人数</li>
		</ul>
		<div class="clear"></div>
		<? if(is_array($items) && count($items)>0):?>
		<? foreach ($items as $item):?>
		<ul class="listitem">
			<li><?=$item['name'];?></li>
			<li><?=$item["new_weekfuns"];?></li>
			<li><?=$item['new_monthfuns'];?></li>
			<li style="width:140px;"><?=strftime("%H时 %M分 %S秒 ", intval($item['avg_fanstaytime']));?></li>
			<li class="lastitem">
				<?=$item['avg_visits'];?>
			</li>
		</ul>
		<div class="clear"></div>
		<? endforeach;?>
		<? endif;?>
	</div>
	<div class="pagestring">
		<?=$pagestring;?>
	</div>
</body>
</html>
